Output Is According To The Input